package com.example.demo;

import com.example.demo.domain.entity.user.User;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

@RestController
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class TestController {


    // q?id=1&wxId=aaa&... 
    @GetMapping("/q")
    public User query(User user) {
        return user;
    }
}
